-
Home
-
Servebolt Optimizer
-
3.5.1
-
Code
-
Classes
- MigrationRunner
Total Complexity |
72 |
Dependencies |
0 |
Dependents |
3 |
Total lines |
408 |
Lines of code |
237 |
Logical lines of code |
118 |
Comment lines |
102 |
Methods |
25 |
Properties |
8 |
Methods 25
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
shouldRunMigration() |
A |
50 |
11 |
32 |
resolveMigrations() |
S |
54 |
5 |
21 |
runMigration() |
S |
57 |
5 |
17 |
alreadyCompleted() |
S |
60 |
5 |
15 |
migrateFromZero() |
S |
61 |
4 |
13 |
rollbackToZero() |
S |
61 |
4 |
13 |
tablesExist() |
S |
61 |
4 |
13 |
runPostMigration() |
S |
63 |
4 |
11 |
runPreMigration() |
S |
63 |
4 |
11 |
runMigrationSteps() |
S |
62 |
3 |
12 |
updateMigratedVersion() |
S |
63 |
3 |
11 |
doMigration() |
S |
66 |
3 |
9 |
clearMigratedVersion() |
S |
68 |
2 |
8 |
getMigrationDirection() |
S |
77 |
2 |
3 |
getCurrentMigratedVersion() |
S |
70 |
2 |
7 |
maybeRunMigrations() |
S |
72 |
2 |
6 |
getAllMigrationFiles() |
S |
79 |
1 |
3 |
handleNewSite() |
S |
71 |
1 |
6 |
setCurrentVersions() |
S |
76 |
1 |
4 |
cleanup() |
S |
80 |
1 |
3 |
migrate() |
S |
80 |
1 |
3 |
migrateFresh() |
S |
77 |
1 |
4 |
run() |
S |
80 |
1 |
3 |
handleDeletedSite() |
S |
71 |
1 |
6 |
migrationVersionOptionsKey() |
S |
79 |
1 |
3 |